home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1580.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.7 KB  |  119 lines

  1. 152
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. OpenURL 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baOpenURL opens an internet document, using the default browser.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baOpenURL( URL , State )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String. 
  36. --- RECORDSEPARATOR ---
  37. URL is the name of the document to open. 
  38. --- RECORDSEPARATOR ---
  39. State is the window state to open the browser with. 
  40. --- RECORDSEPARATOR ---
  41. Can be one of these:
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Windows
  46. --- RECORDSEPARATOR ---
  47.  
  48. --- RECORDSEPARATOR ---
  49. "Normal" 
  50. --- RECORDSEPARATOR ---
  51. shows in its usual state. 
  52. --- RECORDSEPARATOR ---
  53. "Hidden" 
  54. --- RECORDSEPARATOR ---
  55. is not visible. 
  56. --- RECORDSEPARATOR ---
  57. "Maximised" 
  58. --- RECORDSEPARATOR ---
  59. shows as a maximised window. 
  60. --- RECORDSEPARATOR ---
  61. "Minimised" 
  62. --- RECORDSEPARATOR ---
  63. shows as an minimised icon.
  64. --- RECORDSEPARATOR ---
  65.  
  66. --- RECORDSEPARATOR ---
  67. Macintosh
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. The State argument is ignored.
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. Returns:
  76. --- RECORDSEPARATOR ---
  77.  
  78. --- RECORDSEPARATOR ---
  79. Integer. 
  80. --- RECORDSEPARATOR ---
  81. Returns 1 if successful, else 0. Success means that there is a browser associated 
  82. --- RECORDSEPARATOR ---
  83. with .htm files, and it can be started. If opening a local HTML file under Windows 
  84. --- RECORDSEPARATOR ---
  85. 95 the function will fail if the file does not exist; under Windows 3.1, the browser 
  86. --- RECORDSEPARATOR ---
  87. will open with an error message, but the function will return 1.
  88. --- RECORDSEPARATOR ---
  89.  
  90. --- RECORDSEPARATOR ---
  91. Examples:
  92. --- RECORDSEPARATOR ---
  93.  
  94. --- RECORDSEPARATOR ---
  95. Director: 
  96. --- RECORDSEPARATOR ---
  97. set OK = baOpenURL( "http://www.macromedia.com" , "maximised" ) 
  98. --- RECORDSEPARATOR ---
  99. Authorware: 
  100. --- RECORDSEPARATOR ---
  101. OK := baOpenURL( "http://www.macromedia.com" , "maximised" )
  102. --- RECORDSEPARATOR ---
  103.  
  104. --- RECORDSEPARATOR ---
  105. Notes:
  106. --- RECORDSEPARATOR ---
  107.  
  108. --- RECORDSEPARATOR ---
  109. The URL can be any valid internet URL or a local HTML file. 
  110. --- RECORDSEPARATOR ---
  111. This function has been written for use with Netscape Navigator and Microsoft 
  112. --- RECORDSEPARATOR ---
  113. Internet Explorer, but it may work with other browsers. 
  114. --- RECORDSEPARATOR ---
  115. On
  116. --- RECORDSEPARATOR ---
  117.  Macintosh
  118. --- RECORDSEPARATOR ---
  119. , the function will use Internet Config to choose the default browser.